﻿using HZY.EFCore.Models;
using HzyScanDiService.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HZY.EFCore.CacheEntity;

/// <summary>
/// 缓存实体信息服务
/// </summary>
public interface ICacheEntity : IDiSingleton
{
    Dictionary<string, List<EntityInfo>> Gets();

    List<EntityInfo> GetEntityInfos(string tableName);

    void Set(Type tyoe);

    void Set(IEnumerable<Type> types);

}